package com.fortune.vo.distributorOrderMgt;

import java.math.BigDecimal;
import java.util.List;
import com.fortune.constants.enums.Payed;
import io.swagger.annotations.ApiModelProperty;

public class DistributorOrderDetail {
	@ApiModelProperty(example="厂商ID")
	private String mid;
	@ApiModelProperty(example="经销商ID")
	private String did;
	@ApiModelProperty(example="经销商编号")
	private String didNum;
	@ApiModelProperty(example="订单ID")
	private String id;
	@ApiModelProperty(example="订单编号")
	private String no;
	@ApiModelProperty(example="开单时间")
	private String createTime;
	@ApiModelProperty(example="开单方（'CS','JXS'）")
	private String createType;
	@ApiModelProperty(example="开单人（厂商员工ID/经销商员工ID）")
	private String createUser;
	@ApiModelProperty(example="商品总金额")
	private BigDecimal pTotalPrice;
	@ApiModelProperty(example="押金总金额")
	private BigDecimal dTotalPrice;
	@ApiModelProperty(example="是否已付款('YES','NO')")
	private Payed isPay;
	@ApiModelProperty(example="付款日期")
	private String payTime;
	@ApiModelProperty(example="付款方式")
	private String payType;
	@ApiModelProperty(example="付款方式ID")
	private String payTypeId;
	@ApiModelProperty(example="付款流水号")
	private String serialNumber;
	private List<ProductDetail> productDetails;

	public String getPayTypeId() {
		return payTypeId;
	}

	public void setPayTypeId(String payTypeId) {
		this.payTypeId = payTypeId;
	}

	public String getDidNum() {
		return didNum;
	}

	public void setDidNum(String didNum) {
		this.didNum = didNum;
	}

	public String getMid() {
		return mid;
	}
	public void setMid(String mid) {
		this.mid = mid;
	}
	public String getDid() {
		return did;
	}
	public void setDid(String did) {
		this.did = did;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getCreateType() {
		return createType;
	}
	public void setCreateType(String createType) {
		this.createType = createType;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}
	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}
	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}
	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}
	public Payed getIsPay() {
		return isPay;
	}
	public void setIsPay(Payed isPay) {
		this.isPay = isPay;
	}
	public String getPayTime() {
		return payTime;
	}
	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public String getSerialNumber() {
		return serialNumber;
	}
	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}
	public List<ProductDetail> getProductDetails() {
		return productDetails;
	}
	public void setProductDetails(List<ProductDetail> productDetails) {
		this.productDetails = productDetails;
	}
	@Override
	public String toString() {
		return "DistributorOrderDetail [mid=" + mid + ", did=" + did + ", id=" + id + ", no=" + no + ", createTime="
				+ createTime + ", createType=" + createType + ", createUser=" + createUser + ", pTotalPrice="
				+ pTotalPrice + ", dTotalPrice=" + dTotalPrice + ", isPay=" + isPay + ", payTime=" + payTime
				+ ", payType=" + payType + ", serialNumber=" + serialNumber + ", productDetails=" + productDetails
				+ "]";
	}
}
